package com.egao.common.module.push.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 消息推送表(PushMsg)表实体类
 *
 * @author dl
 * @since 2021-03-03 16:31:18
 */
@SuppressWarnings("serial")
@ApiModel(description = "消息推送表")
@Data
@TableName("push_msg")
public class PushMsg implements Serializable {
    
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty("单位是否推送（0：可以推送；1：不推送）")
    private String companyFlag;
    
    @ApiModelProperty("学校管理员推送状态（0：可以推送；1：未推送）")
    private String adminFlag;
    
    @ApiModelProperty("学生编号")    
    private Integer studentId;
    
    @ApiModelProperty("业务类型（1：招聘信息；2：宣讲会；3：空中宣讲会）")
    private String type;
    
    @ApiModelProperty("匹配度")    
    private String matching;
    
    @ApiModelProperty("业务编号（招聘编号、宣讲会编号、空中宣讲会编号）")    
    private Integer businessId;
    
    @ApiModelProperty("单位编号")    
    private Integer companyId;
    
    @ApiModelProperty("标题")    
    private String title;
    
    @ApiModelProperty("业务实际（有效期、举办时间）")    
    private Date businessDate;
    
    @ApiModelProperty("1：未发送、0：已发送")
    private String pushType;
    
    @ApiModelProperty("推送时间")    
    private Date pushDate;
    
    @ApiModelProperty("推送内容")    
    private Object pushContent;
    
    @ApiModelProperty("匹配情况")    
    private String positionMatching;
    
    @ApiModelProperty("是否已读（1：否；0：是）")    
    private String readFlag;
    
    @ApiModelProperty("阅读时间")    
    private Date readDate;
    
    @ApiModelProperty("是否发送简历（1：否；0：是）")    
    private String resumeFlag;
    
    @ApiModelProperty("发送简历时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date resumeDate;
    
    @ApiModelProperty("简历地址")    
    private String resumeFile;
    
    @ApiModelProperty("添加时间")    
    private Date createTime;
    
    @ApiModelProperty("编辑时间")    
    private Date updateTime;
    
    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("业务编号")
    private String bid;

    @ApiModelProperty("单位编号")
    @TableField(exist = false)
    private String cid;

    @ApiModelProperty("学号")
    private String xh;

    @ApiModelProperty("是否导入成功")
    private String successFlag;

    @ApiModelProperty("旧主键")
    private String oldId;

    @ApiModelProperty("年份ID编码")
    private Integer yearId;

    @ApiModelProperty("是否根据能力邀请1、否；0是")
    private String abilityFlag ;


}